#!/bin/sh
# utility to launch c projects using housemade Makefile format
# to make or not to make
for arg in "$@"; do
    case ${arg} in
        -m)
            make
    esac
done

# launch
prog=$(cat Makefile | grep PROG:= | tr -d ' ' | cut -d "=" -f2)
./$prog
